﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class pub
    {
        public String pubName { get; set; }

        public String pubAddress { get; set; }

        public String pubMan { get; set; }

        public void fuzhi(String name,String address,String man) {
            this.pubAddress = address;
            this.pubMan = man;
            this.pubName = name;
        }
        public void fuzhi() { 
        }
        public void print() {
            Console.WriteLine("出版社名称：{0} 出版社地址：{1} 出版人：{2}",this.pubName,this.pubAddress,this.pubMan);
            Console.ReadKey();
        }
    }
}
